<!DOCTYPE html>
<html>

	<head>
		<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../../css/iuapmobile.um.css">
		<link rel="stylesheet" href="../../css/font-icons.css">
		<link rel="stylesheet" href="../../css/iscroll.css" />
		<style>
			#bdef17_dummy,
			#acceptance_state_dummy,
			#bdef45_dummy,
			#bdef15_dummy,
			#selectErji_dummy,
			#notthrough_type_dummy {
				border: none;
				padding-left: 10px;
				color: #555;
				font-size: 17px;
				text-align: right;
				width: 100%;
			}
			
			#bdef17_dummy:disabled,
			#bdef15_dummy:disabled,
			#selectErji_dummy:disabled,
			#bdef45_dummy:disabled,
			#acceptance_state_dummy:disabled,
			#notthrough_type_dummy:disabled {
				background: #fff;
			}
		</style>

		<script src="../../js/summer.js"></script>
		<script src="../../js/jquery.min.js"></script>
		<script src="../../js/Frameworks/iuapmobile.frameworks.ui.js"></script>
		<script src="../../js/iscroll.js"></script>
		<script src="../../js/angular.min.js"></script>
	</head>

	<body class="f14" ng-app="myApp" ng-controller="myCtrl" ng-init="">
		<div class="um-page" id="AnZhuangYanShouDetail">
			<div class="um-header">
				<h3>验收详情</h3>
				<a href="#" class="um-back back">返回</a>
			</div>

			<div class="um-content">
				<ul class="um-list">
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									验收次数
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.acceptance_times}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									拓展踩点门头照
								</div>
								<div class="um-list-item-right">
									<img id="mtz1" ng-model="data.mtz1" ng-src="{{data.mtz1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									工程安装门头照
								</div>
								<div class="um-list-item-right">
									<img id="azwb_mtimage" ng-model="data.azwb_mtimage" ng-src="{{data.azwb_mtimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									拓展踩点远景照
								</div>
								<div class="um-list-item-right">
									<img id="yjz1" ng-model="data.yjz1" ng-src="{{data.yjz1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									工程安装远景照
								</div>
								<div class="um-list-item-right">
									<img id="azwb_yjimage" ng-model="data.azwb_yjimage" ng-src="{{data.azwb_yjimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									拓展踩点近景照
								</div>
								<div class="um-list-item-right">
									<img id="jjz1" ng-model="data.jjz1" ng-src="{{data.jjz1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									工程安装近景照
								</div>
								<div class="um-list-item-right">
									<img id="azwb_jjimage" ng-model="data.azwb_jjimage" ng-src="{{data.azwb_jjimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									取电位置
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_qdwz}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									取电位置近景照
								</div>
								<div class="um-list-item-right">
									<img id="azwb_qdwzimage" ng-model="data.azwb_qdwzimage" ng-src="{{data.azwb_qdwzimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									取电位置远景照
								</div>
								<div class="um-list-item-right">
									<img id="bdef28" ng-model="data.bdef28" ng-src="{{data.bdef28}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									网络接入点近景照
								</div>
								<div class="um-list-item-right">
									<img id="azwb_wljrdimage" ng-model="data.azwb_wljrdimage" ng-src="{{data.azwb_wljrdimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									网络接入点远景照
								</div>
								<div class="um-list-item-right">
									<img id="bdef29" ng-model="data.bdef29" ng-src="{{data.bdef29}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									安装时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.installation_time}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									安装状态
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.complete_state == 'Y' ?'是':'否'}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									资产编号
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.equipment_no}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									设备编号
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.bdef20}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									MAC地址
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.mac}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									ESN编号
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.esn}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									商家经营名称
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sjjymc1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									商家经营地址
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sjjydz1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									店面负责人
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.dmfzr1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									联系方式
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.lxfs1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									经营面积
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.jymj1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									所属商圈
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sssq1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									所属环线
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sshx1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									是否联网
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sflw1 == "Y"?"是":"否"}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									省
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.shen1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									市
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.shi1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									区
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.qu1_name}}</span>
								</div>
							</div>
						</div>
					</li>

					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									全景照
								</div>
								<div class="um-list-item-right">
									<img id="qjz1" ng-model="data.qjz1" ng-src="{{data.qjz1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									开店时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.kdsj1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									闭店时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.bdsj1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									设备类型
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sblx1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									设备数量
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sbsl1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									安装方式
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azfs1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机数量
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sxjsl1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									派工日期
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.pgrq1.substring(0,10)}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									派工时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.pgsj1.substring(10)}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									要求竣工日期
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.yqjgrq1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									施工单位
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sgdw1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									工程主管
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.gczg1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									是否签证
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.visa_whether == 'Y'?'是':'否'}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									签证类型
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.visa_type_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									签证数量
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.visa_num}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									签证照片
								</div>
								<div class="um-list-item-right">
									<img id="visa_image" ng-model="data.visa_image" ng-src="{{data.visa_image}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									时控开机时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_kjtime.substring(10)}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									时控关机时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_gjtime.substring(10)}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									外网接入
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_wwjr}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									内网接入
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_nwjr}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机（含支架）
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_sxj}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机电源
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_sxjdy}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									线上保险座（含保险管）
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_xsbxz}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									POE分离器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.poe}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									开关电源
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_kgdy}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									漏电空开
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_ldkk}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									交换机
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_jhj}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									交换机箱
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_jx}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									插排
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_cp}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									二次继电器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_ecjdq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									有线路由器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_yxlyq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									无线路由器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_wxlyq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									路由器盒
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_lyqh}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									时间控制器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_sjkzq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									电力猫
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_dlm}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									电力猫盒
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_dlmh}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									3G网卡
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.a3g}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									光纤收发器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_gqsfq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									光纤熔纤盒
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_gqsrqh}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									光纤Modem
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.modem_gq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									ADSL Modem
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.modem_adsl}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									竣工图
								</div>
								<div class="um-list-item-right">
									<img id="azwb_qgimage" ng-model="data.azwb_qgimage" ng-src="{{data.azwb_qgimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									加急类型
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.jjlx1 == "N"?"否":"是"}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									屏后线缆接入点
								</div>
								<div class="um-list-item-right">
									<img id="azwb_phxljrdimage" ng-model="data.azwb_phxljrdimage" ng-src="{{data.azwb_phxljrdimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									勘察单正面
								</div>
								<div class="um-list-item-right">
									<img id="azwb_phxljrdimage" ng-model="data.azwb_sxjdyimage1" ng-src="{{data.azwb_sxjdyimage1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<!--
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									勘察单反面
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjdyimage2" ng-model="data.azwb_sxjdyimage2" ng-src="{{data.azwb_sxjdyimage2}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					-->
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机位置照片1
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjwzimage1" ng-model="data.azwb_sxjwzimage1" ng-src="{{data.azwb_sxjwzimage1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机位置照片2
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjwzimage2" ng-model="data.azwb_sxjwzimage2" ng-src="{{data.azwb_sxjwzimage2}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机位置照片3
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjwzimage3" ng-model="data.azwb_sxjwzimage3" ng-src="{{data.azwb_sxjwzimage3}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机位置照片4
								</div>
								<div class="um-list-item-right">
									<img id="bdef10" ng-model="data.bdef10" ng-src="{{data.bdef10}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
				</ul>

			</div>

			<div class="um-footer">
				<a href="#indexyes" id="indexyesJup" style="display: none;"></a>
				<button class="btns" ng-click="next()">
					验收结果填写
				</button>
			</div>
		</div>

		<div class="um-page" id="indexyes">
			<div class="um-header">
				<h3>验收结果</h3>
				<a href="#" class="um-back">返回</a>
				<a href="#" class="um-header-right" ng-click="zhancun()">暂存 </a>
			</div>

			<div class="um-content">
				<ul class="um-list">
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>验收状态
								</div>
								<div class="um-list-item-right">
									<select id='acceptance_state' ng-model="acceptance_state" class="select">
										<option ng-repeat="x in acceptance_state_child" value="{{x.pk_doc}}">{{x.doc_name}}</option>
									</select>
								</div>
							</div>
						</div>
					</li>
					<li class="bhg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>未通过类型
								</div>
								<div class="um-list-item-right">
									<select ng-model="notthrough_type" id='notthrough_type' class="select">
										<option ng-repeat="x in weitongguoleixin" value="{{x.pk_doc}}">{{x.doc_name}}</option>
									</select>
								</div>
							</div>
						</div>
					</li>
					<li class="wlys">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>未能验收说明
								</div>
								<div class="um-list-item-right">
									<select id='bdef17' ng-model="bdef17" class="select">
										<option value="已拆机">已拆机</option>
										<option value="商店关门">商店关门</option>
									</select>
								</div>
							</div>
						</div>
					</li>
					<li class="wlys">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>未能验收照片
								</div>
								<div class="um-list-item-right">
									<img id="bdef18" ng-model="bdef18" onclick="openCamera(this,pageid)" ng-src="{{bdef18}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="bhg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>未通过说明
								</div>
								<div class="um-list-item-right">
									<input type="text" ng-model="not_passed" class="form-control tr" placeholder="请输入">
								</div>
							</div>
						</div>
					</li>
					<li class="bhg">
						<div class="um-list-item">
							<div class="um-list-item-inner" style="color:white;background-color: #9dc23b;">
								<div class="um-list-item-left pl5">
									不合格照片
								</div>
								<div class="um-list-item-right">

								</div>
							</div>
						</div>
					</li>
					<li class="bhg bdef22">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									验收不合格照片
								</div>
								<div class="um-list-item-right">
									<img id="bdef22" ng-model="bdef22" onclick="openCamera(this,pageid)" ng-src="{{bdef22}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="bhg bdef23">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									验收不合格照片
								</div>
								<div class="um-list-item-right">
									<img id="bdef23" ng-model="bdef23" onclick="openCamera(this,pageid)" ng-src="{{bdef23}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="bhg bdef24">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									验收不合格照片
								</div>
								<div class="um-list-item-right">
									<img id="bdef24" ng-model="bdef24" onclick="openCamera(this,pageid)" ng-src="{{bdef24}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="bhg bdef25">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									验收不合格照片
								</div>
								<div class="um-list-item-right">
									<img id="bdef25" ng-model="bdef25" onclick="openCamera(this,pageid)" ng-src="{{bdef25}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="bhg bdef26">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									验收不合格照片
								</div>
								<div class="um-list-item-right">
									<img id="bdef26" ng-model="bdef26" onclick="openCamera(this,pageid)" ng-src="{{bdef26}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="bhg bdef27">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									验收不合格照片
								</div>
								<div class="um-list-item-right">
									<img id="bdef27" ng-model="bdef27" onclick="openCamera(this,pageid)" ng-src="{{bdef27}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>门头照
								</div>
								<div class="um-list-item-right">
									<img id="azys_mtimage" ng-model="azys_mtimage" onclick="openCamera(this,pageid)" ng-src="{{azys_mtimage}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>远景照
								</div>
								<div class="um-list-item-right">
									<img id="azys_yjimage" ng-model="azys_yjimage" onclick="openCamera(this,pageid)" ng-src="{{azys_yjimage}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>近景照
								</div>
								<div class="um-list-item-right">
									<img id="azys_jjimage" ng-model="azys_jjimage" onclick="openCamera(this,pageid)" ng-src="{{azys_jjimage}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg sxt1">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>摄像机验收照片1
								</div>
								<div class="um-list-item-right">
									<img id="bdef1" ng-model="bdef1" onclick="openCamera(this,pageid)" ng-src="{{bdef1}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg sxt2">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>摄像机验收照片2
								</div>
								<div class="um-list-item-right">
									<img id="bdef37" ng-model="bdef37" onclick="openCamera(this,pageid)" ng-src="{{bdef37}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg sxt3">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>摄像机验收照片3
								</div>
								<div class="um-list-item-right">
									<img id="bdef38" ng-model="bdef38" onclick="openCamera(this,pageid)" ng-src="{{bdef38}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg sxt4">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>摄像机验收照片4
								</div>
								<div class="um-list-item-right">
									<img id="bdef39" ng-model="bdef39" onclick="openCamera(this,pageid)" ng-src="{{bdef39}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>设备状态
								</div>
								<div class="um-list-item-right">
									<select ng-model="bdef45" id='bdef45' class="select">
										<option ng-repeat="x in shebeizhuangtai" value="{{x.pk_doc}}">{{x.doc_name}}</option>
									</select>
								</div>
							</div>
						</div>
					</li>
					<li class="hg bdef47">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>状态类型原因
								</div>
								<div class="um-list-item-right">
									<select ng-model="bdef47" id='selectErji' class="select">
										<option ng-repeat="x in caijileixing" value="{{x.pk_doc}}">{{x.doc_name}}</option>
									</select>
								</div>
							</div>
						</div>
					</li>
					<li class="hg bdef46">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>故障原因
								</div>
								<div class="um-list-item-right">
									<input id="bdef46" ng-model="bdef46" type="text" class="form-control tr" placeholder="请填写" required>
								</div>
							</div>
						</div>
					</li>
					<li class="hg bdef48">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>是否为POE供电
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="bdef48" ng-checked="bdef48"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>点击中屏,主机顶部晃动小于5mm
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_zjdbhd" ng-checked="azys_zjdbhd"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>屏外观无损伤
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_pwgwss" ng-checked="azys_pwgwss"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                              </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>穿管、布线是否符合要求
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_bxsfhtyq" ng-checked="azys_bxsfhtyq"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                              	</label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>透明厨房图像是否卡顿
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_txsfkd" ng-checked="azys_txsfkd"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>相关照片是否符合要求
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_tpsfhtyq" ng-checked="azys_tpsfhtyq"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>接线、取电是否符合要求
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_sfhtyq" ng-checked="azys_sfhtyq"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>摄像机支架是否牢固
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_sxjsfng" ng-checked="azys_sxjsfng"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>摄像机是否固
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_sxjsfg" ng-checked="azys_sxjsfg"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>管线是否美观
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_gxsfmg" ng-checked="azys_gxsfmg"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>辅助设备安装是否符合要求
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_fzsbazsffhyq" ng-checked="azys_fzsbazsffhyq"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>设备网络是否在线
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_sbwxsfzx" ng-checked="azys_sbwxsfzx"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                              </label>
								</div>
							</div>
						</div>
					</li>
					<li class="ysbh">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>驳回原因
								</div>
								<div class="um-list-item-right">
									<select id='bdef15' ng-model="bdef15" class="select" multiple="multiple">
										<option ng-repeat="x in select_bdef15" value="{{x.pk_doc}}">{{x.doc_name}}</option>
									</select>
								</div>
							</div>
						</div>
					</li>
				</ul>
			</div>

			<div class="um-footer">
				<button class="btns" ng-click="submits1()">
					验收提交
				</button>
			</div>
		</div>

		<script>
			var angularScope; //angla 对象
			var pageParam; //页面参数
			var pagexq; //单据详情
			var app = angular.module('myApp', []);
			var pageid = "AnZhuangYanShouDetail";
			app.controller('myCtrl', function($scope, $http) {
				angularScope = $scope;
				//验收合格 设备状态改变
				$scope.$watch("bdef45", function(n, o) {
					//值改变时，改变文字 
					var text__ = "请选择";
					try {
						text__ = angularScope.shebeizhuangtai.filter(function(element, index, array) {
							return(element.pk_doc == $scope.bdef45);
						})[0].doc_name;
					} catch(e) {}
					$("#bdef45_dummy").val(text__);

					//当前界面不为合格就直接返回;
					if($("#acceptance_state_dummy").val() != "合格") {
						return;
					}
					//显示隐藏
					$(".bdef46").hide(); //故障原因
					$(".bdef47").show();
					switch(text__) {
						case "正常":
							$scope.bdef47 = "";
							$scope.bdef46 = "";
							$(".bdef47").hide();
							break;
						case "故障":
							$(".bdef47").hide();
							$(".bdef46").show();
							$scope.bdef47 = "";
							break;
						case "请选择":
							$(".bdef47").hide();
							break;
					}
					bindErji($scope.bdef45); //选择改变后 就去取二级，有二级就显示出来
				});
				//状态类型原因 改变时发生
				$scope.$watch("bdef47", function(n, o) {
					//值改变时，改变文字 
					var text__ = "请选择";
					try {
						text__ = angularScope.caijileixing.filter(function(element, index, array) {
							return(element.pk_doc == $scope.bdef47);
						})[0].doc_name;
					} catch(e) {}
					$("#selectErji_dummy").val(text__);
				});

				//验收状态改变时
				$scope.$watch('acceptance_state', function() {
					//值改变时，改变文字 
					var text__ = "请选择";
					try {
						text__ = angularScope.acceptance_state_child.filter(function(element, index, array) {
							return(element.pk_doc == $scope.acceptance_state);
						})[0].doc_name;
					} catch(e) {}
					$("#acceptance_state_dummy").val(text__);
					//显示隐藏相关的控件
					$(".bhg").hide();
					$(".hg").hide();
					$(".ysbh").hide();
					$(".wlys").hide();
					switch(text__) {
						case "合格":
							$(".hg").show();
							//触发更新方法
							setTimeout(function() {
								var aa = $scope.bdef45;
								angularScope.bdef45 = "555";
								angularScope.$apply();
								angularScope.bdef45 = aa || "";
								angularScope.$apply();
							}, 300);
							break;
						case "不合格":
							$(".bhg").show();
							break;
						case "未能验收":
							$(".wlys").show();
							break;
						case "验收驳回":
							$(".ysbh").show();
							break;
					}
				});
				//未通过类型改变时
				$scope.$watch('notthrough_type', function() {
					//值改变时，改变文字 
					var text__ = "请选择";
					try {
						text__ = angularScope.weitongguoleixin.filter(function(element, index, array) {
							return(element.pk_doc == $scope.notthrough_type);
						})[0].doc_name;
					} catch(e) {}
					$("#notthrough_type_dummy").val(text__);
				});
				//验收驳回 驳回原因改变时  多选
				$scope.$watch('bdef15', function() {
					//值改变时，改变文字 
					var text__ = "请选择";
					try {
						var textttttt = "";
						for(var i = 0; i < $scope.bdef15.length; i++) {
							textttttt += "," + angularScope.select_bdef15.filter(function(element, index, array) {
								return(element.pk_doc == $scope.bdef15[i]);
							})[0].doc_name;
						}
						text__ = textttttt.substring(1);
					} catch(e) {}
					$("#bdef15_dummy").val(text__);
				});
				//未通过类型选择改变
				$scope.$watch('notthrough_type', function() {
					//值改变时，改变文字 
					var text__ = "请选择";
					try {
						text__ = angularScope.weitongguoleixin.filter(function(element, index, array) {
							return(element.pk_doc == $scope.notthrough_type);
						})[0].doc_name;
					} catch(e) {}
					$("#notthrough_type_dummy").val(text__);
				});

				$scope.next = function() {
					$("#indexyesJup").click();
				};

				$scope.zhancun = function() {
					submits(true);
				}

				$scope.submits1 = function() {
					UM.confirm({
						title: '友情提示：',
						text: '是否确认提交？',
						btnText: ["取消", "确认"],
						overlay: true,
						ok: function() {
							submits(false);
						},
						cancle: function() {}
					});
				}
			});

			//设备状态
			function bindshebeizhuangtai() {
				doPost(adressHead.ISjtzImpl, "getBdDoc", {
					dataParm: {
						dostype: "app032_pid"
					}
				}, function(jsons) {
					angularScope.shebeizhuangtai = jsons;
					angularScope.$apply();
				}, null, true);
			}
			//绑定二级菜单
			function bindErji(pk) {
				doPost(adressHead.ISjtzImpl, "getBdDoc", {
					dataParm: {
						dostype: "app032_" + pk
					}
				}, function(jsons) {
					if(jsons && jsons.length > 0) {
						angularScope.caijileixing = jsons;
						angularScope.$apply();
						//如果当前数据没有此选项，就清空它
						var text__ = "请选择";
						try {
							text__ = jsons.filter(function(element, index, array) {
								return(element.pk_doc == angularScope.bdef47);
							})[0].doc_name;
						} catch(e) {}
						if(text__ == "请选择") {
							angularScope.bdef47 = "";
							angularScope.$apply();
						}
					}
				}, null, true);
			}

			summerready = function() {
				pageParam = summer.pageParam;
				bindYanShouZhuangTai();
				bindweitongguoleixin();
				bindbohuiyuanyin();
				bindshebeizhuangtai();
				//必填验证
				var userinfo = summer.getStorage("userinfo");
				doPost(
					adressHead.IInstallationImpl2, "getAcceptanceCheckDetail", {
						dataParm: {
							empId: userinfo.empId,
							bodyid: pageParam.bodyid, //施工编号
							pointId: pageParam.pointId //点位编号
						}
					},
					function(jsons) {
						pagexq = jsons.data;
						angularScope.data = jsons.data;
						angularScope.data.azwb_mtimage = getImgUrl(angularScope.data.azwb_mtimage);
						angularScope.data.azwb_yjimage = getImgUrl(angularScope.data.azwb_yjimage);
						angularScope.data.azwb_jjimage = getImgUrl(angularScope.data.azwb_jjimage);
						angularScope.data.azwb_sxjwzimage3 = getImgUrl(angularScope.data.azwb_sxjwzimage3);
						angularScope.data.azwb_sxjwzimage1 = getImgUrl(angularScope.data.azwb_sxjwzimage1);
						angularScope.data.azwb_sxjwzimage2 = getImgUrl(angularScope.data.azwb_sxjwzimage2);
						angularScope.data.azwb_qdwzimage = getImgUrl(angularScope.data.azwb_qdwzimage);
						angularScope.data.bdef10 = getImgUrl(angularScope.data.bdef10);
						angularScope.data.azwb_wljrdimage = getImgUrl(angularScope.data.azwb_wljrdimage);
						angularScope.data.azys_dwjgysbimage = getImgUrl(angularScope.data.azys_dwjgysbimage);
						angularScope.data.mtz1 = getImgUrl(angularScope.data.mtz1);
						angularScope.data.yjz1 = getImgUrl(angularScope.data.yjz1);
						angularScope.data.jjz1 = getImgUrl(angularScope.data.jjz1);
						angularScope.data.qjz1 = getImgUrl(angularScope.data.qjz1);
						angularScope.data.visa_image = getImgUrl(angularScope.data.visa_image);
						angularScope.data.azwb_sxjdyimage1 = getImgUrl(angularScope.data.azwb_sxjdyimage1);
						angularScope.data.azwb_sxjdyimage2 = getImgUrl(angularScope.data.azwb_sxjdyimage2);
						angularScope.data.azwb_sxjdyimage3 = getImgUrl(angularScope.data.azwb_sxjdyimage3);
						angularScope.data.azwb_qgimage = getImgUrl(angularScope.data.azwb_qgimage);
						angularScope.data.azwb_phxljrdimage = getImgUrl(angularScope.data.azwb_phxljrdimage);
						angularScope.data.bdef28 = getImgUrl(angularScope.data.bdef28);
						angularScope.data.bdef29 = getImgUrl(angularScope.data.bdef29);

						//////////////////暂存
						angularScope.billcode = "";
						angularScope.acceptance_state = (!angularScope.data.acceptance_state) ? "" : angularScope.data.acceptance_state;
						angularScope.$apply();

						angularScope.notthrough_type = (!angularScope.data.notthrough_type) ? "" : angularScope.data.notthrough_type;
						angularScope.$apply();

						angularScope.not_passed = (!angularScope.data.not_passed) ? "" : angularScope.data.not_passed;
						if(angularScope.data.azys_mtimage) {
							angularScope.azys_mtimage = getImgUrl(angularScope.data.azys_mtimage);
							imgs["azys_mtimage"] = angularScope.data.azys_mtimage;
						}
						if(angularScope.data.azys_yjimage) {
							angularScope.azys_yjimage = getImgUrl(angularScope.data.azys_yjimage);
							imgs["azys_yjimage"] = angularScope.data.azys_yjimage;
						}
						if(angularScope.data.azys_jjimage) {
							angularScope.azys_jjimage = getImgUrl(angularScope.data.azys_jjimage);
							imgs["azys_jjimage"] = angularScope.data.azys_jjimage;
						}
						if(angularScope.data.azys_dwjgysbimage) {
							angularScope.azys_dwjgysbimage = getImgUrl(angularScope.data.azys_dwjgysbimage);
							imgs["azys_dwjgysbimage"] = angularScope.data.azys_dwjgysbimage;
						}
						if(angularScope.bdef17) {
							angularScope.bdef17 = (!angularScope.data.bdef17) ? "" : angularScope.data.bdef17;
						} else {
							$("#bdef17_dummy").val("请选择"); //写死的数据
						}
						if(angularScope.data.bdef18) {
							angularScope.bdef18 = getImgUrl(angularScope.data.bdef18);
							imgs["bdef18"] = angularScope.data.bdef18;
						}
						if(angularScope.data.bdef22) {
							angularScope.bdef22 = getImgUrl(angularScope.data.bdef22);
							imgs["bdef22"] = angularScope.data.bdef22;
						}
						if(angularScope.data.bdef23) {
							angularScope.bdef23 = getImgUrl(angularScope.data.bdef23);
							imgs["bdef23"] = angularScope.data.bdef23;
						}

						//摄像头
						if(angularScope.data.bdef1) {
							angularScope.bdef1 = getImgUrl(angularScope.data.bdef1);
							imgs["bdef1"] = angularScope.data.bdef1;
						}
						if(angularScope.data.bdef37) {
							angularScope.bdef37 = getImgUrl(angularScope.data.bdef37);
							imgs["bdef37"] = angularScope.data.bdef37;
						}
						if(angularScope.data.bdef38) {
							angularScope.bdef38 = getImgUrl(angularScope.data.bdef38);
							imgs["bdef38"] = angularScope.data.bdef38;
						}
						if(angularScope.data.bdef39) {
							angularScope.bdef39 = getImgUrl(angularScope.data.bdef39);
							imgs["bdef39"] = angularScope.data.bdef39;
						}

						if(angularScope.data.bdef24) {
							angularScope.bdef24 = getImgUrl(angularScope.data.bdef24);
							imgs["bdef24"] = angularScope.data.bdef24;
						}
						if(angularScope.data.bdef25) {
							angularScope.bdef25 = getImgUrl(angularScope.data.bdef25);
							imgs["bdef25"] = angularScope.data.bdef25;
						}
						if(angularScope.data.bdef26) {
							angularScope.bdef26 = getImgUrl(angularScope.data.bdef26);
							imgs["bdef26"] = angularScope.data.bdef26;
						}
						if(angularScope.data.bdef27) {
							angularScope.bdef27 = getImgUrl(angularScope.data.bdef27);
							imgs["bdef27"] = angularScope.data.bdef27;
						}
						angularScope.bdef45 = angularScope.data.bdef45;
						angularScope.$apply();
						setTimeout(function() {
							angularScope.bdef46 = angularScope.data.bdef46 || "";
							angularScope.bdef47 = angularScope.data.bdef47 || "";
							angularScope.$apply();
						}, 3000);
						angularScope.azys_zjdbhd = (angularScope.data.azys_zjdbhd == "Y") ? true : false;
						angularScope.azys_pwgwss = (angularScope.data.azys_pwgwss == "Y") ? true : false;
						angularScope.azys_bxsfhtyq = (angularScope.data.azys_bxsfhtyq == "Y") ? true : false;
						angularScope.azys_txsfkd = (angularScope.data.azys_txsfkd == "Y") ? true : false;
						angularScope.azys_tpsfhtyq = (angularScope.data.azys_tpsfhtyq == "Y") ? true : false;
						angularScope.azys_sfhtyq = (angularScope.data.azys_sfhtyq == "Y") ? true : false;
						angularScope.azys_sxjsfng = (angularScope.data.azys_sxjsfng == "Y") ? true : false;
						angularScope.azys_sxjsfg = (angularScope.data.azys_sxjsfg == "Y") ? true : false;
						angularScope.azys_gxsfmg = (angularScope.data.azys_gxsfmg == "Y") ? true : false;
						angularScope.azys_fzsbazsffhyq = (angularScope.data.azys_fzsbazsffhyq == "Y") ? true : false;
						angularScope.azys_sbwxsfzx = (angularScope.data.azys_sbwxsfzx == "Y") ? true : false;
						angularScope.bdef48 = (angularScope.data.bdef48 == "Y") ? true : false;
						angularScope.$apply();

						//49寸设备 有poe 其他没有
						if(angularScope.data.sblx1_name.indexOf("49") == -1) {
							$(".bdef48").remove();
						}
					}
				);
			}

			//绑定企业分类
			function bindweitongguoleixin() {
				doPost(adressHead.ISjtzImpl, "getBdDoc", {
					dataParm: {
						dostype: "app014"
					}
				}, function(jsons) {
					angularScope.weitongguoleixin = jsons;
					angularScope.$apply();
				}, null, true);
			}
			//驳回原因
			function bindbohuiyuanyin() {
				doPost(adressHead.ISjtzImpl, "getBdDoc", {
					dataParm: {
						dostype: "app031"
					}
				}, function(jsons) {
					angularScope.select_bdef15 = jsons;
					angularScope.$apply();
					$("#bdef15_dummy").val("请选择");
				}, null, true);
			}
			$(function() {
				var opt = {
					'date': {
						preset: 'date'
					},
					'select': {
						preset: 'select'
					}
				};
				$('.select').scroller('destroy').scroller($.extend(opt['select'], {
					theme: "ios7",
					mode: "scroller",
					display: "bottom",
					animate: ""
				}));

				$("img.camera").attr("src", "../../img/myimg/camera.png");
			});
			//绑定验收状态
			function bindYanShouZhuangTai() {
				doPost(adressHead.ISjtzImpl, "getBdDoc", {
					dataParm: {
						dostype: "app013"
					}
				}, function(jsons) {
					angularScope.acceptance_state_child = jsons;
					angularScope.$apply();
				}, null, true);
			}

			//			$('.select').change(function() {
			//			});
			function submits(boo) {
				if(!boo) {
					//必填验证
					if(!angularScope.acceptance_state) {
						toasts("请填写 " + "验收状态");
						return;
					}

					var va = $("#acceptance_state_dummy").val();
					if(va.indexOf("不合格") != -1) {
						if(!angularScope.notthrough_type) {
							toasts("请选择 " + "未通过类型");
							return;
						}
						if(!angularScope.not_passed) {
							toasts("请填写 " + "未通过说明");
							return;
						}
					} else if(va.indexOf("合格") != -1) {
						if(!imgs["azys_mtimage"]) {
							toasts("请拍摄 " + "门头照");
							return;
						}
						if(!imgs["azys_yjimage"]) {
							toasts("请拍摄 " + "远景照");
							return;
						}
						if(!imgs["azys_jjimage"]) {
							toasts("请拍摄 " + "近景照");
							return;
						}
						if(Number(angularScope.data.azwb_sxj) > 0 && !imgs["bdef1"]) {
							toasts("请拍摄 " + "摄像头数量1");
							return;
						}
						if(Number(angularScope.data.azwb_sxj) > 1 && !imgs["bdef37"]) {
							toasts("请拍摄 " + "摄像头数量2");
							return;
						}
						if(Number(angularScope.data.azwb_sxj) > 2 && !imgs["bdef38"]) {
							toasts("请拍摄 " + "摄像头数量3");
							return;
						}
						if(Number(angularScope.data.azwb_sxj) > 3 && !imgs["bdef39"]) {
							toasts("请拍摄 " + "摄像头数量4");
							return;
						}

						switch($("#bdef45").find("option:selected").text()) {
							case "正常":
								break;
							case "故障":
								if(!angularScope.bdef46) {
									alerts("请填写故障原因");
									return;
								}
								break;
						}
						if($(".bdef47").is(":visible")) {
							if(!angularScope.bdef47) {
								alerts("请填写拆机类型");
								return;
							}
						}
					} else if(va.indexOf("驳回") != -1) {
						//111111
						if(!angularScope.bdef15) {
							toasts("请选择" + "驳回原因");
							return;
						}
					} else {
						if(!angularScope.bdef17) {
							toasts("请填写 " + "未能验收说明");
							return;
						}
						if(!imgs["bdef18"]) {
							toasts("请填写 " + "未能验收照片");
							return;
						}
					}
				}
				var bdef15 = ""; //驳回原因多选
				if(!!angularScope.bdef15) {
					for(var i = 0; i < angularScope.bdef15.length; i++) {
						if(i == 0) {
							bdef15 += (angularScope.bdef15[i]);
						} else {
							bdef15 += ("," + angularScope.bdef15[i]);
						}
					}
				}

				var userinfo = summer.getStorage("userinfo");
				doPost(
					adressHead.IInstallationImpl2, "AcceptanceRepor", {
						dataParm: {
							acceptance_times: (!boo && $("#acceptance_state").find("option:selected").text().indexOf("不合格") == -1) ? (Number(angularScope.data.acceptance_times) + 1).toString() : angularScope.data.acceptance_times,
							empId: userinfo.empId,
							bodyid: pageParam.bodyid, //施工编号
							pointId: pageParam.pointId, //点位编号
							install_date: format(new Date(), 'yyyy-MM-dd HH:mm:ss'),
							installation_time: format(new Date(), 'yyyy-MM-dd HH:mm:ss'),
							acceptance_date: format(new Date(), 'yyyy-MM-dd HH:mm:ss'),
							acceptance_time: format(new Date(), 'yyyy-MM-dd HH:mm:ss'),
							acceptance_state: (angularScope.acceptance_state) ? angularScope.acceptance_state : "",
							notthrough_type: (!angularScope.notthrough_type) ? "" : angularScope.notthrough_type,
							not_passed: (!angularScope.not_passed) ? "" : angularScope.not_passed,
							azys_mtimage: imgs["azys_mtimage"] == null ? "" : imgs["azys_mtimage"],
							azys_yjimage: imgs["azys_yjimage"] == null ? "" : imgs["azys_yjimage"],
							azys_jjimage: imgs["azys_jjimage"] == null ? "" : imgs["azys_jjimage"],
							azys_dwjgysbimage: imgs["azys_dwjgysbimage"] == null ? "" : imgs["azys_dwjgysbimage"],
							azys_zjdbhd: (angularScope.azys_zjdbhd) ? "Y" : "N",
							azys_pwgwss: (angularScope.azys_pwgwss) ? "Y" : "N",
							azys_bxsfhtyq: (angularScope.azys_bxsfhtyq) ? "Y" : "N",
							azys_txsfkd: (angularScope.azys_txsfkd) ? "Y" : "N",
							azys_tpsfhtyq: (angularScope.azys_tpsfhtyq) ? "Y" : "N",
							azys_sfhtyq: (angularScope.azys_sfhtyq) ? "Y" : "N",
							azys_sxjsfng: (angularScope.azys_sxjsfng) ? "Y" : "N",
							azys_sxjsfg: (angularScope.azys_sxjsfg) ? "Y" : "N",
							azys_gxsfmg: (angularScope.azys_gxsfmg) ? "Y" : "N",
							bdef48: (angularScope.bdef48) ? "Y" : "N",
							azys_fzsbazsffhyq: (angularScope.azys_fzsbazsffhyq) ? "Y" : "N",
							azys_sbwxsfzx: (angularScope.azys_sbwxsfzx) ? "Y" : "N",
							azwb_phxljrdimage: imgs["azwb_phxljrdimage"] == null ? "" : imgs["azwb_phxljrdimage"],
							is_temporary: boo ? "Y" : "N",
							billcode: boo ? angularScope.billcode : "",
							bdef17: (!angularScope.bdef17) ? "" : angularScope.bdef17,
							bdef18: (!imgs["bdef18"]) ? "" : imgs["bdef18"],
							bdef22: imgs["bdef22"] || "",
							bdef23: imgs["bdef23"] || "",
							bdef24: imgs["bdef24"] || "",
							bdef25: imgs["bdef25"] || "",
							bdef26: imgs["bdef26"] || "",
							bdef27: imgs["bdef27"] || "",
							bdef1: imgs["bdef1"] || "",
							bdef37: imgs["bdef37"] || "",
							bdef38: imgs["bdef38"] || "",
							bdef39: imgs["bdef39"] || "",
							bdef15: bdef15,
							bdef45: angularScope.bdef45 || "",
							bdef46: angularScope.bdef46 || "",
							bdef47: angularScope.bdef47 || "",
						}
					},
					function(jsons) {
						if(jsons.result == 1) {
							if(boo) {
								alerts("暂存成功");
								angularScope.billcode = jsons.vbillcode; //暂存号
								angularScope.$apply();
							} else {
								alerts("提交成功");
								setTimeout(function() {
									summer.execScript({
										winId: 'AnZhuangYanShouList',
										script: "rebind()"
									});
									summer.closeWin();
								}, 1000);
							}
						} else {
							alerts("提示：" + jsons.msg);
						}
					}
				);
			}
		</script>
	</body>

</html>
<script src="../../js/Myjs/Common.js"></script>